#include "Stack.h"
//2024.10.14

void TestStack()
{
	ST st;
	StackInit(&st);
	StackPush(&st, 1);
	StackPush(&st, 2);
	StackPush(&st, 3);
	StackPush(&st, 4);
	PrintStack(&st);

	StackPop(&st);
	StackPop(&st);
	StackPop(&st);
	//StackPop(&st);
	////stackPop(&st);
	printf("%d", StackTop(&st));

	StackDestroy(&st);
}
int main()
{
	TestStack();
	return 0;
}